package com.pingan.glue.gluegame.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.pingan.glue.gluegame.entity.FriendUserEntity;
import com.pingan.glue.gluegame.entity.FriendUserTokenEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * 登陆token
 *
 */
@Mapper
public interface FriendUserTokenDao extends BaseMapper<FriendUserTokenEntity> {

    @Select("select * from friend_user_token where token=#{token}")
    FriendUserTokenEntity queryByToken(String token);

}
